<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="commons/bar::header-fragment(select='Y')"></head>
<body>
<div th:replace="commons/bar::topbar"></div>

<div class="container-fluid">
    <div class="row">
        <!--引入侧边栏-->
        <div th:replace="commons/bar::#sidebar(activeUri='userss')"></div>
        <main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4">
            <div class="wrapper wrapper-content animated fadeInRight">
                <div class="ibox float-e-margins">
                    <div class="ibox-content">
                        <p>专项管理</p>
                        <p>
                            <button class="btn btn-primary btn-add" type="button">
                                <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>&nbsp;新增
                            </button>
                        </p>
                        <div class="bootstrap-table">
                            <table id="tb_users" data-mobile-responsive="true"></table>
                        </div>

                    </div>
                </div>
            </div>
        </main>
    </div>
</div>
<div class="content">
    <!-- 模态框（Modal） -->
    <div class="modal fade" id="modalEdit" tabindex="-1" role="dialog" aria-labelledby="modalAddLabel">
        <div class="modal-dialog modal-dialog-centered" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <h3 class="modal-title" id="modalTitle">新用户添加</h3>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <form>
                        <div class="form-group" id="idDiv">
                            <label for="userName" class="control-label">用户ID:</label>
                            <input type="text" class="form-control" id="userOfId" autocomplete="off" name="id" >
                        </div>
                        <div class="form-group">
                            <label for="userName" class="control-label">用户名:</label>
                            <input type="text" class="form-control" id="username" autocomplete="off" name="username" value="antRain">
                        </div>
                        <div class="form-group">
                            <label for="password" class="control-label">密码:</label>
                            <input type="text" class="form-control" id="password" name="password" value="123456">
                        </div>
                        <div class="form-group">
                            <label>性别</label><br/>
                            <div class="form-check form-check-inline">
                                <input class="form-check-input" type="radio" name="sex" value="M" id="sexM">
                                <label for="sexM" class="form-check-label">男</label>
                            </div>
                            <div class="form-check form-check-inline">
                                <input class="form-check-input" type="radio" name="sex" value="F" id="sexF">
                                <label for="sexF" class="form-check-label">女</label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="birth" class="form-check-label">出生日期</label>
                            <input name="birth" type="date" class="form-control" id="birth">
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary" id="saveButton">确认</button>
                </div>
            </div>
        </div>
    </div>
    <!-- /.modal -->
</div>


<div th:replace="commons/bar::footer-js(select='Y')"></div>
</body>

</html>